package cn.tedu.epidemic.service;

import cn.tedu.community.commons.pojo.health.dto.HealthDTO;
import cn.tedu.community.commons.pojo.health.dto.UpdateResponseDTO;
import cn.tedu.community.commons.pojo.health.vo.HealthVO;
import cn.tedu.community.commons.restful.JsonPage;
import org.springframework.transaction.annotation.Transactional;


@Transactional
public interface HealthService {
    void insert(HealthDTO healthDTO);

    void checkReportDay();

    void delete(Long id);

    void updateById(Long id,HealthDTO healthDTO);

    HealthVO healthStandard(Long id);

    JsonPage<HealthVO> healthListByUserId(Integer page,Integer pageSize);

    /*管理员专用*/
    void updateResponse(Long id, UpdateResponseDTO responseDTO);
    JsonPage<HealthVO> ListAuditedOrNot(Integer AuditedOrNot,
                                            Integer page, Integer pageSize);
}
